#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <signal.h>
#include<iostream>

using namespace std;

static void Usage(string proc)
{
    cout << "Usage:\r\n\t" << proc << " signumber processid" << endl;
}

int main(int argc, char* argv[])
{
	if(argc!=3)
    {
       Usage(argv[0]);
		return 1;
    }

     int signumber = atoi(argv[1]);
    int procid = atoi(argv[2]);
    kill(procid,signumber);
    
    return 0;
}
